<?php //debug($planos);?>
<?php echo $this->Form->create('planos', array('action' => 'planos')); ?>
<div class="widget">
    <div class="whead"><h6>LISTADO DE PLANOS</h6><div class="clear"></div></div>
    <div class="shownpars">
        <table cellpadding="0" cellspacing="0" border="0" class="dTable">
            <thead>
                <tr>
                    <th>Nro</th>
                    <th>Numero de Caja</th>
                    <th>Transmital</th>
                    <th>Transmital</th>
                </tr>
            </thead>
            <tbody>
                <?php $i = 1; ?>
                <?php foreach ($planos as $plan): ?>                
                <tr class="gradeX">
                <td><?php echo $i; $i++; ?></td>
                <td><?php echo $plan['planos']['nuevolugar'];?></td>
                <td><?php echo $plan['0']['mintran']; ?></td>
                <td><?php echo $plan['0']['maxtran'];?></td>

                </tr>
                <?php endforeach; ?>                
            </tbody>
        </table>
    </div> 
</div> 
<?php echo $this->Html->link('INSERTAR NUEVO PLANO',array('action'=>'insertar'),array('class'=>'buttonS bGreen'));?>
